<!DOCTYPE html>
<p>There should be no red:</p>
<div style="background: red; width: 100px; height: 100px; position: absolute; z-index: -1;"></div>
<div style="background: green; writing-mode: vertical-rl; width: 100px;">
  <span style="writing-mode: vertical-lr; height: 100px;">
